﻿<Window x:Class="BAC.CRMService.UI.Engine.ProxySettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ProxySettingsForm" Height="270" Width="381" Loaded="WindowLoaded">
    <Grid Background="#FFE9EDF1">
        <StackPanel Height="60" VerticalAlignment="Top" Background="White">
            <Label Content="Custom proxy settings" FontSize="14"/>
        </StackPanel>
        <CheckBox Name="chkUseCustomProxy" Content="Use custom proxy" HorizontalAlignment="Left" Margin="10,65,0,0" VerticalAlignment="Top" Checked="ChkUseCustomProxyChecked" Unchecked="ChkUseCustomProxyUnChecked"/>
        <Label Content="Proxy address" HorizontalAlignment="Left" Margin="10,86,0,0" VerticalAlignment="Top"/>
        <Label Content="Proxy port" HorizontalAlignment="Left" Margin="10,114,0,0" VerticalAlignment="Top"/>
        <Label Content="Login" HorizontalAlignment="Left" Margin="10,140,0,0" VerticalAlignment="Top"/>
        <Label Content="Password" HorizontalAlignment="Left" Margin="10,166,0,0" VerticalAlignment="Top"/>
        <TextBox Name="txtProxyAddress" Height="23" Margin="98,86,10,0" TextWrapping="Wrap"  VerticalAlignment="Top"/>
        <TextBox Name="txtProxyPort" Height="23" Margin="98,114,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" HorizontalAlignment="Left" Width="51" TextChanged="TxtProxyPortTextChanged"/>
        <TextBox Name="txtLogin" Height="23" Margin="98,142,10,0" TextWrapping="Wrap"  VerticalAlignment="Top"/>
        <PasswordBox Name="txtPassword" Margin="98,170,10,0" VerticalAlignment="Top" RenderTransformOrigin="0,-1.15"/>
        <Button x:Name="btnCancel" Content="Cancel" Margin="0,0,13,10" Height="22" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75"  Click="BtnCancelClick"/>
        <Button x:Name="btnValidate" Content="OK" Margin="0,0,93,10" Height="22" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" RenderTransformOrigin="-0.227,0.682"  Click="BtnValidateClick"/>

    </Grid>
</Window>
